package whf.framework.dao.param;

import whf.framework.util.StringUtils;

/**
 * @author wanghaifeng
 *
 */
public abstract class BaseParam implements IParam  {
	private String name;
	
	private Object value;

	public BaseParam(String name, Object value){
		this.name = name;
		this.value = value;
	}
	
	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String toString(){
		return StringUtils.buildToString(this);
	}
}
